package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/4
 * @desc 菜单表
 */

@Setter
@Getter
@Document
@ApiModel(value = "菜单表")
public class MenuT extends BaseDocument {

    /** 栏目Id */
    @ApiModelProperty(value = "栏目Id")
    private String programaId;

    /** 菜单名称 */
    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    /** 父级Id */
    @ApiModelProperty(value = "父级Id")
    private String pid;

    /** 菜单级别 */
    @ApiModelProperty(value = "菜单级别")
    private int level;

    /** 图片 */
    @ApiModelProperty(value = "图片")
    private String image;

    /** 链接地址 */
    @ApiModelProperty(value = "链接地址")
    private String url;

}
